package day04.demo01;

import org.w3c.dom.ls.LSOutput;

public class BB implements InterfaceAA{
    @Override
    public void showA() {
        System.out.println("AAAAA");
//        D a=new D();
//        System.out.println(a);
    }

    public static void main(String[] args) {
        D a=new D(3);
        System.out.println(a.a);
    }
}

class D{
    final int a;


    public D(){
         a=102;
    }
    public D(int a){
        a=7;
        this.a=a;
    }

}